package com.e.dianshang.service;

import com.e.dianshang.pojo.User;

/**
 * @Description: TOOD
 * @ClassName: UserService
 * @Author: ${陈柯宇}
 * Date: 2020/11/11 14:49
 * @Version: 1.0
 */

public interface UserService {

    //查找手机号是否注册
    String findByPhone(String phone);

    //用户注册基础信息填写
    Integer register(User user);

    //查找密码
    String findPwdByPhone(String phone);

    //根据手机号码查找用户名
    String findNameByPhone(String phone);

    //找回密码同时修改密码
    Integer updatePwd(String phone,String pwd);

}
